//
//  HeadTableViewCell.swift
//  Yun
//
//  Created by 新宝 on 2017/6/14.
//  Copyright © 2017年 新宝. All rights reserved.
//

import UIKit

class HeadTableViewCell: UITableViewCell {
    @IBOutlet weak var headLabel: UILabel!

    @IBOutlet weak var lineButton: UIButton!
    override func awakeFromNib() {
        super.awakeFromNib()
    headLabel.transform=headLabel.transform.rotated(by: CGFloat(M_PI_2))
    
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)
        if selected{
            self.headLabel.textColor=UIColor.red
        }
        else{
            self.headLabel.textColor=UIColor.black
        }
    }
    
    
}


    

